package com.lais.record.user.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: luowen
 * @Description: 用户实体
 * @Date: Create in 21:52 2019/11/29
 */
@Table(name = "t_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @Id
    private String id; //主键

    private String nickname; //用户昵称

    private String password; //密码

    private String phone;//手机号

    private String status; //用户状态

    private String salt; //盐

    private String avatar; //头像地址

    private String birthday; //生日

    private Date created; //创建时间

    private Date updated; //修改时间
}
